package com.yu.enmus;

import lombok.Getter;

/**
 * @author jiangting
 * description:
 * path: com.neucloud.iot.base-BackStatusEnum
 * date: 2021/3/31
 */
@Getter
public enum BackStatusEnum {
    SUCCESS(true, "请求成功"),
    FAIL(false, "请求失败"),;


    private Boolean code;

    private String description;

    BackStatusEnum(Boolean code, String errorDescription) {
        this.code = code;
        this.description = errorDescription;
    }
}
